package org.jeecg.modules.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.base.po.EntityBase;

/**
 * @Description: 公司地址
 * @Author: jeecg-boot
 * @Date: 2020-05-22
 * @Version: V1.0
 */
@Data
@TableName("xb_bank_card")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "xb_bank_card对象", description = "银行卡")
public class BankCard extends EntityBase {

    /**
     * 公司地址
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "公司地址")
    private Integer id;
    @ApiModelProperty(value = "公司1，代理商2,消费者3")
    private Integer ownerType;
    @ApiModelProperty(value = "所属id")
    private Integer ownerId;
    @ApiModelProperty(value = "银行名称")
    private String bankName;
    @ApiModelProperty(value = "开户支行名称")
    private String pullAddress;
    @ApiModelProperty(value = "银行卡号")
    private String cardNum;
    @ApiModelProperty(value = "真实姓名")
    private String realName;
}
